require('colors')

const logs = {
    log () {
        console.log('[uniapp-config]'.gray, '-', ...arguments)
    },
    wait () {
        console.log('[uniapp-config]'.gray, '♨'.cyan, ...arguments)
    },
    warning () {
        console.log('[uniapp-config]'.gray, '▲️'.yellow, ...arguments)
    },
    error () {
        console.log('[uniapp-config]'.gray, '✖'.red, ...arguments)
    },
    success () {
        console.log('[uniapp-config]'.gray, '✔'.green, ...arguments)
    },
    line () {
        console.log('\n')
    },
    helpTip: 'uniapp-config --map 命令查看配置项映射'.yellow
}

module.exports = logs
